<% @totalTime = 0 %>
<% @eventList.each do |event| %>
  <% @totalTime += event.totalTime %>
<% end %>
<h3><center>Statistics</center></h3>
<ul>
<li>Total Events: <%= @eventList.size %></li>
<li>Total Time Logged: <%= pluralize(@totalTime,"min") %></li>
</ul>
